package com.qidian.md.mapper;

import com.qidian.mes.pojo.md.Workstation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkstationMapper {

    List<Workstation> selectByPage(@Param("workstation")Workstation workstation, @Param("start") Integer start, @Param("limit") Integer limit);

    Integer selectCount(Workstation workstation);


    int addWorkstation( Workstation workstation);


    /**
     * 根据输入的id查询工作站
     * @param workstationId
     * @return
     */
    Workstation selectById(Long workstationId);
    /**
     * 修改数据更新
     * @param workstation
     * @return
     */
    Integer update(Workstation workstation);




    Integer deleteUpdateStatus(Long workstationId);


    Integer deleteUpdateSelect(Long[] workstationId);
}
